Skip to content

Conversation

@syoyo
Copy link
Contributor

@syoyo syoyo commented Apr 10, 2022

Thank you for great library!

This PR supports building python-optix on Windows.

I have confirmed every scripts in examples works well on Windows.

Changes are:

  • Define NOMINMAX for MSVC(otherwise comilation fails for std::max used in OptiX header)
  • Link with advapi32(OptiX uses some Windows Registry API)

Build environment

  • Windows11 64bit
  • Conda python 3.8
  • MSVC(VS2019)

@mortacious mortacious merged commit 23975be into mortacious:master Apr 10, 2022
@mortacious
Copy link
Owner

Hey, tanks for the contribution! Really great to get the Windows support up and running! I will merge and make a new Release ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants